package mysql.types;

/**
 * Created by thormentor on 27-04-2014.
 */
public class Varchar extends Type {
    Varchar() {
        super(String.class,
                "varchar",
                "varchar\\(\\d+\\)",
                "char\\(\\d+\\)",
                "text",
                "enum\\(.+\\)"
        );
    }

    @Override
    public String toString() {
        return super.toString() + "(255)";
    }
}
